﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace StudentApartMentManage
{
    public partial class PersonalData : Form
    {
        string uid;
        public PersonalData(string uid)
        {
            InitializeComponent();
            this.uid = uid;
        }

        private void PersonalData_Load(object sender, EventArgs e)
        {
            string sql = string.Format("select * from 学生信息表 where 学号 = '{0}'", uid);
            dataGridView1.DataSource = sqlHelper.GetTable(sql);
        }
    }
}
